#pragma once

#include <libge/libge.h>
#include <string>

class Client;

class ClientThread {
public:
	ClientThread(Client* cli, const char* name);
	~ClientThread();

	void Start();
	void Pause();
	void Stop();
	virtual void run();
	bool isRunning();
	static int entry(int args, void* argp);

private:
	std::string name;
	Client* client;
	ge_Thread* instance;
	bool running;
	bool exit;
};
